package com.qf.cx.simplenms.readergroup.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.qf.cx.simplenms.common.config.CommonConfig;
import com.qf.cx.simplenms.reader.config.ReaderConfig;
import com.qf.cx.simplenms.readergroup.api.ReaderGroupManager;
import com.qf.cx.simplenms.readergroup.impl.ReaderGroupManagerImpl;

@Configuration
@ComponentScan(basePackageClasses = { CommonConfig.class, ReaderConfig.class })
public class ReaderGroupConfig {

	@Bean
	public ReaderGroupManager readerGroupManager() {
		return new ReaderGroupManagerImpl();
	}
}
